import Vue from 'vue'
import App from './App.vue'
import router from './router.js'
import store from './store'
import Panel from '@/components/Panel'
import vuescroll from 'vuescroll/dist/vuescroll-native'

// import socket from '@/lib/socket'
import 'vuescroll/dist/vuescroll.css'
import '@/assets/fonts/icon.css'

//插件
import { plugins } from '@/plugins'
plugins.forEach((item) => {
  Vue.use(item.default)
})

Vue.config.productionTip = false

// Vue.prototype.$socket = socket
Vue.component('Panel', Panel)
Vue.use(vuescroll)

new Vue({
    render: h => h(App),
    router,
    store
}).$mount('#app')
